package test02;

import test1.Circle;
public class Cone {	
	Circle c;
    public double height;
    public Cone(Circle i, double height) {
        this.c = i;
        this.height = height;
    }
    public Cone(double r, double height) {
        this.c = new Circle(r);
        this.height = height;
    }
    public void Cone01(int i, int height2) {
		
	}
	public Cone(int i, int height2) {
	
	}
	public double getvolume1() {
        return (height*c.getarea())/3;
    }
    public double getbiaomianji() {
    	double l = Math.sqrt(height * height + c.radius * c.radius);
    	return 3.14*l*c.radius+c.getarea();
    }
   public double getradius() {
    	return c.radius;
    }
public String getvolume() {
	
	return null;
}
	
}